<template>
    <div class="food-list">
        <div v-for="food in food_list">
            <FoodItem :item = "food"></FoodItem>
        </div>
    </div>
</template>

<script>
    import FoodItem from './FoodItem.vue'
    export default {
        props:["food_list"],
        components:{
            FoodItem
        },
    }
</script>

<style lang="less">

</style>